//package com.kuang.quartaz.job;
//
//import org.quartz.Job;
//import org.quartz.JobDataMap;
//import org.quartz.JobExecutionContext;
//import org.quartz.JobExecutionException;
//
//import java.util.Date;
//
//public class PrintTimeJob implements Job {
//
//    @Override
//    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
//        // 如何获取定时任务里面的动态参数
////        JobDataMap jobDataMap = jobExecutionContext.getJobDetail().getJobDataMap();
////// 动态获取参数
////        System.out.println(new Date()+":"+jobDataMap.get("msg"));
//    }
//}
